home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-02-28 | 628 b | 23 lines | [TEXT/ttxt] |
- -- *******************************************************
- -- * *
- -- * LoopAction class *
- -- * *
- -- *******************************************************
-
- class LoopAction (Action)
- instance variables
- looping
- end
-
- method init self {class LoopAction} #rest args ->
- (
- apply nextMethod self args
- self.looping := false
- )
-
- method trigger self {class LoopAction} theTarget thePlayer ->
- (
- if (self.looping) do
- thePlayer.scorePlayer.time := 0 -- Need to decide where to jump to!
- )
-